package com.easy.dfc.entity;

import java.math.BigDecimal;
import java.util.Date;

public class ParaEnrollQuery {
    private String userId;
    private String token;
    private String enrollId;
    private Integer typeId;
    private Integer day;
    private String factoryId;
    private Integer flag;
    private Integer pageIndex;
    private Integer pageSize;

    public ParaEnrollQuery(){
        pageIndex = 0;
        pageSize = 15;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getEnrollId() {
        return enrollId;
    }

    public void setEnrollId(String enrollId) {
        this.enrollId = enrollId;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getFactoryId() {
        return factoryId;
    }

    public void setFactoryId(String factoryId) {
        this.factoryId = factoryId;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Integer getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getDay() {
        return day;
    }

    public void setDay(Integer day) {
        this.day = day;
    }

    public Integer getLimitIndex() {

        return this.pageSize * this.getPageIndex();
    }
    public Integer getLimitSize() {
        return pageSize;
    }

}